#ifndef _WIN32
 #include	"ServerUnix.h"
#else
 #include	"ServerWin.h"
#endif
#include "AThread.hpp"
#include "HandleInformations.hpp"
#include "StockMessage.hpp"

StockMessage<std::pair<std::string, int> >		inputList;
StockMessage<std::pair<std::string, int> >		outputList;

int	main()
{
	#ifndef _WIN32
	  ServerUnix	test;
	#else
	  ServerWin	test;
	#endif
	myThread		var;

	Thread::create(&var, HandleInformations, NULL);
	test.LaunchServer();
	Thread::waitSingle(&var);
	return (0);
}
